package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng123
 * @since 2018-09-08
 */
@TableName("nb_dbq")
public class Dbq extends Model<Dbq> {

    private static final long serialVersionUID = 1L;

    private Long id;
    @TableField("g_id")
    private Integer gId;
    @TableField("g_name")
    private String gName;
    @TableField("g_content")
    private String gContent;
    @TableField("g_time")
    private Date gTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getgName() {
        return gName;
    }

    public void setgName(String gName) {
        this.gName = gName;
    }

    public String getgContent() {
        return gContent;
    }

    public void setgContent(String gContent) {
        this.gContent = gContent;
    }

    public Date getgTime() {
        return gTime;
    }

    public void setgTime(Date gTime) {
        this.gTime = gTime;
    }

    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Dbq{" +
        "id=" + id +
        ", gName=" + gName +
        ", gContent=" + gContent +
        ", gTime=" + gTime +
        "}";
    }
}
